<?php
class IndexController extends Controller
{
    function __construct()
    {
        $this->loadLibrary('utility');
    }

    function index($page = 1)
    {
        $this->loadModule('test');
        $view = $this->loadView('index');
//        var_dump($view);exit;
        $view->setBlockData('Trang chủ','title');
        $view->addJs('jquery.tools.min');
        $view->render();
    }
}
 
